export default [
  // 用户登录接口
  {
    url: '/api/admin/menu',
    method: 'get',
    response: () => {
      return {
        code: 0,
        data: [
          {
            id: '1780438091144679426',
            parentId: '-1',
            weight: 1,
            name: '订单',
            path: '/',
            component: 'Layout',
            meta: {
              isLink: '',
              isIframe: null,
              isKeepAlive: false,
              icon: 'shouye',
              enName: 'Root',
              isAffix: false,
              showNext: false,
              title: '订单',
              isHide: false,
            },
            sortOrder: 1,
            menuType: '0',
            permission: '',
            children: [
              {
                id: '1780439663295676418',
                parentId: '1780438091144679426',
                weight: 1,
                name: '年报',
                path: 'home',
                component: 'views/operation/home/index',
                meta: {
                  isLink: '',
                  isIframe: null,
                  isKeepAlive: false,
                  icon: null,
                  enName: 'Operation',
                  isAffix: false,
                  showNext: true,
                  title: '年报',
                  isHide: false,
                },
                sortOrder: 1,
                menuType: '0',
                permission: '',
              },
            ],
          },
          {
            id: '1787739447802486786',
            parentId: '-1',
            weight: 8,
            name: '系统管理',
            path: '/system',
            component: 'Layout',
            meta: {
              isLink: '',
              isIframe: null,
              isKeepAlive: false,
              icon: 'xiaochengxu',
              enName: 'System',
              isAffix: false,
              showNext: true,
              title: '系统管理',
              isHide: false,
            },
            sortOrder: 8,
            menuType: '0',
            permission: '',
            children: [
              {
                id: '1827877066195988480',
                parentId: '1787739447802486786',
                weight: 1,
                name: '价格设置',
                path: 'price',
                component: 'views/system/price/index',
                meta: {
                  isLink: '',
                  isIframe: null,
                  isKeepAlive: false,
                  icon: null,
                  enName: 'Price',
                  isAffix: false,
                  showNext: null,
                  title: '价格设置',
                  isHide: false,
                },
                sortOrder: 1,
                menuType: '0',
                permission: '',
              },
              {
                id: '1780508347950235649',
                parentId: '1787739447802486786',
                weight: 2,
                name: '公共参数',
                path: 'setting',
                component: 'views/system/setting/index',
                meta: {
                  isLink: '',
                  isIframe: null,
                  isKeepAlive: false,
                  icon: null,
                  enName: 'SystemSetting',
                  isAffix: false,
                  showNext: true,
                  title: '公共参数',
                  isHide: false,
                },
                sortOrder: 2,
                menuType: '0',
                permission: '',
              },
            ],
          },
          {
            id: '1000',
            parentId: '-1',
            weight: 10,
            name: '权限管理',
            path: '/global',
            component: 'Layout',
            meta: {
              isLink: '',
              isIframe: false,
              isKeepAlive: false,
              icon: '31shezhi',
              enName: 'Global',
              isAffix: false,
              showNext: true,
              title: '权限管理',
              isHide: false,
            },
            sortOrder: 10,
            menuType: '0',
            permission: null,
            children: [
              {
                id: '1100',
                parentId: '1000',
                weight: 2,
                name: '用户列表',
                path: 'user',
                component: 'views/setting/user/index',
                meta: {
                  isLink: '',
                  isIframe: false,
                  isKeepAlive: false,
                  icon: '',
                  enName: 'GlobalUser',
                  isAffix: false,
                  showNext: true,
                  title: '用户列表',
                  isHide: false,
                },
                sortOrder: 2,
                menuType: '0',
                permission: null,
              },
              {
                id: '1200',
                parentId: '1000',
                weight: 3,
                name: '菜单管理',
                path: 'menu',
                component: 'views/setting/menuManagement/index',
                meta: {
                  isLink: '',
                  isIframe: false,
                  isKeepAlive: false,
                  icon: '',
                  enName: 'GlobalMenu',
                  isAffix: false,
                  showNext: true,
                  title: '菜单管理',
                  isHide: false,
                },
                sortOrder: 3,
                menuType: '0',
                permission: null,
              },
              {
                id: '1300',
                parentId: '1000',
                weight: 4,
                name: '角色管理',
                path: 'role',
                component: 'views/setting/roleManagement/index',
                meta: {
                  isLink: '',
                  isIframe: null,
                  isKeepAlive: false,
                  icon: '',
                  enName: 'GlobalRole',
                  isAffix: false,
                  showNext: true,
                  title: '角色管理',
                  isHide: false,
                },
                sortOrder: 4,
                menuType: '0',
                permission: null,
              },
              {
                id: '1797535643904217089',
                parentId: '1000',
                weight: 5,
                name: '部门管理',
                path: 'department',
                component: 'views/setting/department/index',
                meta: {
                  isLink: '',
                  isIframe: null,
                  isKeepAlive: false,
                  icon: null,
                  enName: 'GlobalDepartment',
                  isAffix: false,
                  showNext: true,
                  title: '部门管理',
                  isHide: false,
                },
                sortOrder: 5,
                menuType: '0',
                permission: '',
              },
              {
                id: '1797543031893889026',
                parentId: '1000',
                weight: 6,
                name: '岗位管理',
                path: 'post',
                component: 'views/setting/post/index',
                meta: {
                  isLink: '',
                  isIframe: null,
                  isKeepAlive: false,
                  icon: null,
                  enName: 'GlobalPost',
                  isAffix: false,
                  showNext: true,
                  title: '岗位管理',
                  isHide: false,
                },
                sortOrder: 6,
                menuType: '0',
                permission: '',
              },
              {
                id: '1780409173918449666',
                parentId: '1000',
                weight: 9,
                name: '个人中心',
                path: '/personalCenter',
                component: 'views/setting/personalCenter/index',
                meta: {
                  isLink: '',
                  isIframe: null,
                  isKeepAlive: false,
                  icon: null,
                  enName: 'GlobalPersonalCenter',
                  isAffix: false,
                  showNext: true,
                  title: '个人中心',
                  isHide: false,
                },
                sortOrder: 9,
                menuType: '0',
                permission: '',
              },
            ],
          },
        ],
        msg: '成功',
      }
    },
  },
]
